package com.kh.pajx.sop.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.kh.pajx.sop.base.BaseDaoImpl;
import com.kh.pajx.sop.dao.IStockDevInDetailDao;
import com.kh.pajx.sop.domain.stock.StockDevInDetail;
import com.kh.pajx.sop.domain.stock.StockDevOutDetail;
@Repository
public class StockDevInDetailDaoImpl extends BaseDaoImpl<StockDevInDetail> implements IStockDevInDetailDao{

	@Override
	public List<StockDevInDetail> getBybillCode(Long billCode) {
		String hql="from StockDevInDetail t where 1=1 and t.inBillcode='"+billCode+"'";
		return getSession().createQuery(hql).list();
	}

}
